﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace _17bangMVC.Models
{

    public class ArticleListItemModel
    {
        public int Id { get; set; }
        public DateTime? PublishTime { get; set; }
        public string Title { get; set; }
        public string Body { get; set; }
        public IList<KeyWordModel> KeyWords { get; set; }
        public CommentModel Comments { get; set; }
        public AppraiseModel Appraise { get; set; }
        public UserPageModel User { get; set; }
        public IList<TabsModel> Tabs { get; set; }
    }

    public class CommentModel
    {
        public int Id { get; set; }
        public string Name { get; set; }
        public int CommentCount { get; set; }
    }
    public class AppraiseModel
    {
        public int DisagreeAmount { get; set; }
        public int AgreeAmount { get; set; }

    }
}